﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Chat
{
    /// <summary>
    /// Information, describing the chat user.
    /// </summary>
    [Serializable]
    public class LoginData
    {
        /// <summary>
        /// The user's nick name used for login.
        /// </summary>
        private NickName user;
        /// <summary>
        /// The default color, the messages from this user will appear in.
        /// </summary>
        private Color textColor;

        public LoginData(NickName user, Color textColor)
        {
            User = user;
            TextColor = textColor;
        }

        public NickName User
        {
            get { return user; }
            set { user = value; }
        }

        public Color TextColor
        {
            get { return textColor; }
            set { textColor = value; }
        }
    }
}
